package demo3;

public class Test3 {
    public static void main2(String[] args) {

            Double o1 = true ? new Integer(1) : new Double(2.0);
            Object o2;
            if(true){
                o2 = new Integer(1);
            }else{
                o2 = new Double(2.0);
            } System.out.print(o1);
            System.out.print(" ");
            System.out.print(o2);
        }

    public static void main(String[] args) {
        byte a = 3;
        byte b = 2;
        b = (byte) (a + b);
        System.out.println(b);
    }

}
